package net.cathackers.devel.scmp.interfaces;

import net.cathackers.devel.exceptions.CATException;

public interface Cacheable {
    /***
     * Check if the object is dirty and not committed to the backend or not. 
     * @return true if dirty, false if not
     */
    public boolean isDirty();
    /***
     * Sync Object with the backend if needed.
     * @throws CATException 
     */
    public void syncObject() throws CATException;

}
